import api from '@/api/index'
import { baseServer } from '@/utils/apiConfig'
// 分页查询信息
export const getUnitList = <T>(data?: unknown) => {
  return api.get<T>(baseServer + '/corporationUserManagement', data)
}
// 查看详情
export const resetPwd = <T>(id: string) => {
  return api.put<T>(baseServer + '/corporationUserManagement/' + id + ':resetPassword')
}
